﻿@{
    ViewBag.Title = "Pessoa";
}
<div class="views">
    <div class="viewForm">
        <form id="frmCadastrarPessoa">
            <input type="text" id="codPessoa" placeholder="Código" onblur="BuscarPessoaPorCodigo()" class="txt txt-small rounded"/>
            <input type="checkbox" id="Cliente" value="C" /> Cliente
            <input type="checkbox" id="Fornecedor" value="F" /> Forncedor
            <input type="checkbox" id="Situacao" /> Ativo
            <br/>
            <input type="text" id="Nome" placeholder="Nome" class="txt txt-large rounded"/>
            <br/>
            <input type="text" id="TipoPessoa" placeholder="Tipo Pessoa" class="txt txt-large rounded"/>
            <br/>
            <input type="text" id="TipoGrupo" placeholder="Grupo Pessoa" class="txt txt-large rounded"/>
            <br/>
            <input type="text" id="CPFCNPJ" onfocus="setMask()"  placeholder="CPF/CNPJ" class="txt txt-large rounded"/>
            <br/>
            <input type="text" id="InscricaoEstadual" placeholder="Inscrição Estadual" class="txt txt-large rounded"/>
           @* <input type="text" id="Endereco" placeholder="Endereço" class="txt txt-normal rounded"/>
            <input type="text" id="Numero" placeholder="Número" class="txt txt-small rounded"/>
            <br/>
            <input type="text" id="Bairro" placeholder="Bairro" class="txt txt-small rounded"/>
            <input type="text" id="Cidade" placeholder="Cidade" class="txt txt-small rounded"/>
            <input type="text" id="Estado" placeholder="Estado" class="txt txt-small rounded"/>*@
            <br/>
            <input type="text" id="TipoTelefone1" placeholder="Tipo Telefone" class="txt txt-small rounded"/>
            <input type="text" id="Telefone1" onfocus="setMaskTelefone(this)" placeholder="Telefone 1" class="txt txt-normal rounded"/>
            <br/>
            <input type="text" id="TipoTelefone2" placeholder="Tipo Telefone" class="txt txt-small rounded"/>
            <input type="text" id="Telefone2" onfocus="setMaskTelefone(this)" placeholder="Telefone 2" class="txt txt-normal rounded"/>
            <br/>
            <input type="text" id="Contato" placeholder="Contato" class="txt txt-small rounded"/>
            <input type="text" id="Email" placeholder="E-mail" class="txt txt-normal rounded"/>
            <br/>
            <button id="salvar" class="btn btn-save rounded" title="Salvar"/> 
            <button id="novo" class="btn btn-new rounded" title="Novo"/> 
            <button id="excluir" class="btn btn-delete rounded" title="Excluir"/>
        </form> 
    </div>
    <div class="viewGrid">
        <input type="text" id="Cep" placeholder="Cep" class="txt txt-large rounded"/><br />
        <table border="0" cellspadding="0" cellspacing="0">
            <thead>
                <tr>
                    <th>Endereço</th><th>Numero</th><th>Complemento</th><th>Bairro</th><th>Cidade</th><th>Estado</th>
                </tr>
            </thead>
            <tbody id="lista">

            </tbody>
        </table>
    </div>
</div>
